$(document).ready(
    
    function(){
        
        function isMobile(){
            return $(".windowWidth").css("float") !== "none";
        }
        
        function setMenuStyle(){
            if(isMobile()){
                $(".pc").hide();
                $(".mobile").css("visibility", "visible");
            } else{
                $(".pc").show();
                $(".mobile").css("visibility", "hidden");
            }
        }
        
        setMenuStyle()
        
        $(window).resize(function(){
            setMenuStyle()
        });
        
        var UI = {};
        (function (UI) {
            
            UI.start = function(){
                var e = null;
                
                $("#menu-btn").click(function(){
                    e = $("#mobile-menu");
                    if(e.css("display") === "none"){
                        $("#mobile-menu").css("display", "table");
                        
                    } else{
                        $("#mobile-menu").css("display", "none");
                    }
                });
                
                $(".mobile-menu-item").click(function(event){
                    e = $(this).children().eq(0);
                    event.stopPropagation();
                    if(e.css("display") === "none"){
                        e.css("display", "table");
                    } else{
                        e.css("display", "none");
                    }
                });
            };
            
        }(UI));
        var Helpers = {};
        (function (Helpers) {
            
            
            
        }(Helpers));
        
        var Actions = {};
        (function (Actions) {
            
            
            
        }(Actions));
        
        var Controller = {};
        (function (Controller) {
            
            
            
            Controller.init= function(){
                
            };
            
        }(Controller));	
        
        UI.start();
        Controller.init();
    }
);